﻿<Page
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:VMDS_GUIClient_ViewModels_Management_Clients="clr-namespace:VMDS.GUIClient.ViewModels.Management.Clients" 
	  xmlns:local="clr-namespace:VMDS.GUIClient.Helper"
      xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Classic" x:Class="VMDS.GUIClient.Views.Management.ClientsManagement"
      mc:Ignorable="d" 
      d:DesignHeight="395" d:DesignWidth="617"
	Title="ClientsManagement">
	<Page.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="/VMDS.GUIClient;component/Views/ResourceDictionary1.xaml"/>
			</ResourceDictionary.MergedDictionaries>
<!-- Button Styles -->
			<Style x:Key="Button" TargetType="{x:Type Button}">
				<Setter Property="Background">
					<Setter.Value>
						<RadialGradientBrush>
							<GradientStop Offset="0" Color="Black" />
							<GradientStop Offset="1" Color="Black" />
						</RadialGradientBrush>
					</Setter.Value>
				</Setter>
				<Setter Property="Height" Value="40" />
				<Setter Property="Foreground" Value="white" />
				<Setter Property="Grid.Row" Value="2" />
				<Setter Property="Grid.Column" Value="3" />
				<Setter Property="Margin" Value="3" />
				<Setter Property="Template">
					<Setter.Value>
						<ControlTemplate TargetType="{x:Type Button}">
							<ControlTemplate.Resources>
								<Storyboard x:Key="Timeline1">
									<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
										<SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="0.8"/>
										<SplineDoubleKeyFrame KeyTime="00:00:00.4000000" Value="1"/>
									</DoubleAnimationUsingKeyFrames>
								</Storyboard>
							</ControlTemplate.Resources>
							<Grid x:Name="grid" RenderTransformOrigin="0.5,0.5">
								<Grid.RowDefinitions>
									<RowDefinition Height="0.525*"/>
									<RowDefinition Height="0.475*"/>
								</Grid.RowDefinitions>
								<Grid.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="0"/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</Grid.RenderTransform>
								<Rectangle x:Name="GelBackground" Opacity="1" RadiusX="9" RadiusY="9" StrokeThickness="0.35" Grid.RowSpan="2" Fill="Black">
									<Rectangle.Stroke>
										<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
											<GradientStop Offset="0" Color="White" />
											<GradientStop Offset="1" Color="#666666" />
										</LinearGradientBrush>
									</Rectangle.Stroke>
								</Rectangle>
								<Rectangle x:Name="GelShine" Margin="2" VerticalAlignment="Stretch" RadiusX="6" RadiusY="6" Opacity="1" Stroke="Transparent" Height="Auto">
									<Rectangle.Fill>
										<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
											<GradientStop Offset="0" Color="#ccffffff" />
											<GradientStop Offset="1" Color="Transparent" />
										</LinearGradientBrush>
									</Rectangle.Fill>
								</Rectangle>

								<ContentPresenter x:Name="GelButtonContent" VerticalAlignment="Center" HorizontalAlignment="Center" Content="{TemplateBinding Content}" Grid.RowSpan="2" />
							</Grid>

							<ControlTemplate.Triggers>

								<Trigger Property="IsMouseOver" Value="true">
									<Trigger.EnterActions>
										<BeginStoryboard Storyboard="{StaticResource Timeline1}"/>
									</Trigger.EnterActions>
									<Setter TargetName="GelBackground" Property="Fill">
										<Setter.Value>
											<RadialGradientBrush>
												<GradientStop Offset="0.005" Color="#FF00DDFF" />
												<GradientStop Offset="1" Color="#FF1B0064" />
											</RadialGradientBrush>
										</Setter.Value>
									</Setter>
								</Trigger>
						
								<Trigger Property="IsDefault" Value="true">
									<Setter TargetName="GelBackground" Property="Fill">
										<Setter.Value>
											<RadialGradientBrush>
												<GradientStop Offset="0.005" Color="#FF00DDFF" />
												<GradientStop Offset="1" Color="#FF1B0064" />
											</RadialGradientBrush>
										</Setter.Value>
									</Setter>
								</Trigger>
						
						
						
								<Trigger Property="IsPressed" Value="true">
									<Setter Property="Fill" TargetName="GelBackground">
										<Setter.Value>
											<RadialGradientBrush>
												<GradientStop Offset="0" Color="#ffcc00" />
												<GradientStop Offset="1" Color="#cc9900" />
											</RadialGradientBrush>
										</Setter.Value>
									</Setter>
								</Trigger>
							</ControlTemplate.Triggers>
						</ControlTemplate>
					</Setter.Value>
				</Setter>
				<Style.Triggers>
					<Trigger Property="IsMouseOver" Value="true">
						<Setter Property="Foreground" Value="black " />
					</Trigger>
					<Trigger Property="IsPressed" Value="true">
						<Setter Property="Foreground" Value="black " />
					</Trigger>
					<Trigger Property="IsDefault" Value="False"/>
				</Style.Triggers>
			</Style>
			<Style x:Key="ListBoxItemStyle1" TargetType="{x:Type ListBoxItem}">
				<Setter Property="Background" Value="Transparent"/>
				<Setter Property="HorizontalContentAlignment" Value="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
				<Setter Property="VerticalContentAlignment" Value="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
				<Setter Property="Padding" Value="2,0,0,0"/>
				<Setter Property="Template">
					<Setter.Value>
						<ControlTemplate TargetType="{x:Type ListBoxItem}">
							<Border x:Name="Bd" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}" SnapsToDevicePixels="true">
								<TextBlock Height="Auto" TextWrapping="Wrap" Text="{Binding Name}"/>
							</Border>
							<ControlTemplate.Triggers>
								<Trigger Property="IsSelected" Value="true">
									<Setter Property="Background" TargetName="Bd" Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}"/>
									<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.HighlightTextBrushKey}}"/>
								</Trigger>
								<Trigger Property="IsEnabled" Value="false">
									<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
								</Trigger>
							</ControlTemplate.Triggers>
						</ControlTemplate>
					</Setter.Value>
				</Setter>
			</Style>
			<Style x:Key="TabItemFocusVisual">
				<Setter Property="Control.Template">
					<Setter.Value>
						<ControlTemplate>
							<Rectangle Margin="4,4,4,2" SnapsToDevicePixels="true" Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" StrokeThickness="1" StrokeDashArray="1 2"/>
						</ControlTemplate>
					</Setter.Value>
				</Setter>
			</Style>
			<Style x:Key="TabItemStyle1" TargetType="{x:Type TabItem}">
				<Setter Property="FocusVisualStyle" Value="{StaticResource TabItemFocusVisual}"/>
				<Setter Property="Padding" Value="12,2,12,2"/>
				<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
				<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
				<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
				<Setter Property="VerticalContentAlignment" Value="Stretch"/>
				<Setter Property="Template">
					<Setter.Value>
						<ControlTemplate TargetType="{x:Type TabItem}">
							<Microsoft_Windows_Themes:ClassicBorderDecorator x:Name="ClassicBorder" BorderBrush="{x:Null}" BorderThickness="2" BorderStyle="TabTop" SnapsToDevicePixels="true" Background="#2E43BA97">
								<ContentPresenter ContentSource="Header" HorizontalAlignment="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
							</Microsoft_Windows_Themes:ClassicBorderDecorator>
							<ControlTemplate.Triggers>
								<Trigger Property="IsSelected" Value="true">
									<Setter Property="Panel.ZIndex" Value="1"/>
									<Setter Property="Background" TargetName="ClassicBorder">
										<Setter.Value>
											<RadialGradientBrush>
												<GradientStop Color="#FF0BFB30" Offset="0"/>
												<GradientStop Color="#FF0C9922" Offset="1"/>
											</RadialGradientBrush>
										</Setter.Value>
									</Setter>
								</Trigger>
								<Trigger Property="TabStripPlacement" Value="Bottom">
									<Setter Property="BorderStyle" TargetName="ClassicBorder" Value="TabBottom"/>
								</Trigger>
								<Trigger Property="TabStripPlacement" Value="Left">
									<Setter Property="BorderStyle" TargetName="ClassicBorder" Value="TabLeft"/>
								</Trigger>
								<Trigger Property="TabStripPlacement" Value="Right">
									<Setter Property="BorderStyle" TargetName="ClassicBorder" Value="TabRight"/>
								</Trigger>
								<MultiTrigger>
									<MultiTrigger.Conditions>
										<Condition Property="IsSelected" Value="true"/>
										<Condition Property="TabStripPlacement" Value="Top"/>
									</MultiTrigger.Conditions>
									<Setter Property="Margin" Value="-2"/>
								</MultiTrigger>
								<MultiTrigger>
									<MultiTrigger.Conditions>
										<Condition Property="IsSelected" Value="true"/>
										<Condition Property="TabStripPlacement" Value="Bottom"/>
									</MultiTrigger.Conditions>
									<Setter Property="Margin" Value="-2"/>
								</MultiTrigger>
								<MultiTrigger>
									<MultiTrigger.Conditions>
										<Condition Property="IsSelected" Value="true"/>
										<Condition Property="TabStripPlacement" Value="Left"/>
									</MultiTrigger.Conditions>
									<Setter Property="Padding" Value="11,2,14,2"/>
									<Setter Property="Margin" Value="-2"/>
								</MultiTrigger>
								<MultiTrigger>
									<MultiTrigger.Conditions>
										<Condition Property="IsSelected" Value="true"/>
										<Condition Property="TabStripPlacement" Value="Right"/>
									</MultiTrigger.Conditions>
									<Setter Property="Padding" Value="14,2,11,2"/>
									<Setter Property="Margin" Value="-2"/>
								</MultiTrigger>
								<Trigger Property="IsEnabled" Value="false">
									<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
								</Trigger>
							</ControlTemplate.Triggers>
						</ControlTemplate>
					</Setter.Value>
				</Setter>
			</Style>
		</ResourceDictionary>
	</Page.Resources>

	<Page.DataContext>
		<VMDS_GUIClient_ViewModels_Management_Clients:ClientsManagementViewModel/>
	</Page.DataContext>

    <Grid>
    	<TabControl Margin="0,0,5,0" Background="{x:Null}" ItemContainerStyle="{DynamicResource TabItemStyle1}">
    		<TabItem Header="Список ПК" FontSize="14.667" Margin="0">
    			<Grid>
    				<Grid HorizontalAlignment="Left" Margin="8,12,0,52.196" Width="272" d:LayoutOverrides="HorizontalAlignment">
    					<Rectangle Stroke="#FFF8F3F3" StrokeThickness="0.5" RadiusX="10" RadiusY="10" Margin="0">
    						<Rectangle.Fill>
    							<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" Opacity="0.435">
    								<LinearGradientBrush.RelativeTransform>
    									<TransformGroup>
    										<ScaleTransform CenterY="0.5" CenterX="0.5"/>
    										<SkewTransform CenterY="0.5" CenterX="0.5"/>
    										<RotateTransform CenterY="0.5" CenterX="0.5"/>
    										<TranslateTransform/>
    									</TransformGroup>
    								</LinearGradientBrush.RelativeTransform>
    								<GradientStop Color="#FFEFECEC"/>
    								<GradientStop Offset="0.558"/>
    								<GradientStop Color="#FFEFECEC" Offset="1"/>
    								<GradientStop Offset="0.494"/>
    							</LinearGradientBrush>
    						</Rectangle.Fill>
    					</Rectangle>

    					<ListBox Margin="12,28,12,65" ItemsSource="{Binding PCs}" ItemContainerStyle="{DynamicResource ListBoxItemStyle1}" SelectedItem="{Binding CurrentPC}"/>
    					<TextBlock Height="24" TextWrapping="Wrap" VerticalAlignment="Top" FontSize="14.667" HorizontalAlignment="Center" Width="200.355" TextAlignment="Center" FontWeight="Bold" Margin="0,5,0,0"><Run Language="ru-ru" Text="Клиентские компьютеры"/></TextBlock>
    					<GroupBox Header="Поиск" Margin="8,0,12,8" VerticalAlignment="Bottom" Height="53">
    						<StackPanel Margin="0,0,0,2" Orientation="Horizontal" d:LayoutOverrides="Width">
    							<TextBox TextWrapping="Wrap" FontSize="16" Width="212"/>
    							<Image Margin="-1,1,0,0" Width="35" Source="/VMDS.GUIClient;component/Views/Images/adjust_size.png"/>
        
    						</StackPanel>
    					</GroupBox>
        
    				</Grid>
    				<Grid Margin="0,12,8,0" Width="257" HorizontalAlignment="Right" d:LayoutOverrides="HorizontalAlignment" Height="226.101" VerticalAlignment="Top">
    					<Rectangle Stroke="#FFF8F3F3" StrokeThickness="0.5" RadiusX="10" RadiusY="10" Margin="0">
    						<Rectangle.Fill>
    							<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" Opacity="0.435">
    								<LinearGradientBrush.RelativeTransform>
    									<TransformGroup>
    										<ScaleTransform CenterY="0.5" CenterX="0.5"/>
    										<SkewTransform CenterY="0.5" CenterX="0.5"/>
    										<RotateTransform CenterY="0.5" CenterX="0.5"/>
    										<TranslateTransform/>
    									</TransformGroup>
    								</LinearGradientBrush.RelativeTransform>
    								<GradientStop Color="#FFEFECEC"/>
    								<GradientStop Offset="0.558"/>
    								<GradientStop Color="#FFEFECEC" Offset="1"/>
    								<GradientStop Offset="0.494"/>
    							</LinearGradientBrush>
    						</Rectangle.Fill>
    					</Rectangle>
    					<TextBlock Height="37" TextWrapping="Wrap" Text="{Binding CurrentPC.Name}" VerticalAlignment="Top" FontSize="14.667" TextAlignment="Center" FontWeight="Bold" Margin="39.145,8,35.145,0"/>
    					<Button x:Name="AddBut_Copy7" Margin="71.19,0,71.19,20" VerticalAlignment="Bottom" Height="27" ToolTip="Добавление новой виртуальной машины в системы" Grid.Column="0" Grid.Row="0" d:LayoutOverrides="VerticalAlignment, GridBox" Style="{DynamicResource DisabledButton}" HorizontalContentAlignment="Left" Command="{Binding DeleteRequest, Mode=OneWay}">
    						<StackPanel Orientation="Horizontal">
    							<Image Margin="0,4,0,0" Source="/VMDS.GUIClient;component/Views/Images/client_remove.png" OpacityMask="White" Width="27"/>
    							<TextBlock Text="Удалить" TextWrapping="Wrap" TextAlignment="Center" VerticalAlignment="Center" Margin="3,0,8,0" FontSize="14.667" FontWeight="Bold"/>
    						</StackPanel>
    					</Button>
    					<Button x:Name="AddBut_Copy4" Margin="71.19,105.101,71.19,0" Style="{DynamicResource DisabledButton}" VerticalAlignment="Top" Height="27" ToolTip="Добавление новой виртуальной машины в системы" Grid.Row="0" Grid.Column="0" d:LayoutOverrides="Width, GridBox" IsEnabled="False">
    						<StackPanel Orientation="Horizontal">
    							<Image Margin="0" Source="/VMDS.GUIClient;component/Views/Images/reload.png" OpacityMask="White" Width="30"/>
    							<TextBlock Text="Обновить" TextWrapping="Wrap" TextAlignment="Center" VerticalAlignment="Center" Margin="3,0,8,0" FontSize="14.667" FontWeight="Bold"/>
    						</StackPanel>
    					</Button>
    					<TextBlock Height="21" TextWrapping="Wrap" VerticalAlignment="Top" FontSize="14.667" TextAlignment="Center" FontWeight="Bold" Margin="39.145,49,35.145,0" Text="IP" HorizontalAlignment="Left"/>
    					<TextBlock Height="21" TextWrapping="Wrap" VerticalAlignment="Top" FontSize="14.667" TextAlignment="Center" FontWeight="Bold" Margin="71.19,49,35.145,0" Text="{Binding CurrentPC.IP}"/>
        
    				</Grid>
    			</Grid>
    		</TabItem>
    		<TabItem Header="Добавить ПК" Margin="5,0,0,0" FontSize="14.667">
    			<Grid Height="357.297">
    				<Grid HorizontalAlignment="Left" Margin="8,12,0,54" Width="257" d:LayoutOverrides="HorizontalAlignment">
    					<Rectangle Stroke="#FFF8F3F3" StrokeThickness="0.5" RadiusX="10" RadiusY="10" Margin="0">
    						<Rectangle.Fill>
    							<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" Opacity="0.435">
    								<LinearGradientBrush.RelativeTransform>
    									<TransformGroup>
    										<ScaleTransform CenterY="0.5" CenterX="0.5"/>
    										<SkewTransform CenterY="0.5" CenterX="0.5"/>
    										<RotateTransform CenterY="0.5" CenterX="0.5"/>
    										<TranslateTransform/>
    									</TransformGroup>
    								</LinearGradientBrush.RelativeTransform>
    								<GradientStop Color="#FFEFECEC"/>
    								<GradientStop Offset="0.558"/>
    								<GradientStop Color="#FFEFECEC" Offset="1"/>
    								<GradientStop Offset="0.494"/>
    							</LinearGradientBrush>
    						</Rectangle.Fill>
    					</Rectangle>

                        <ListBox Margin="12,41,12,88" local:MultiSelectorBehaviours.SynchronizedSelectedItems="{Binding SelectedPCs}"  SelectionMode="Extended" ItemsSource="{Binding AdPCs}" ItemContainerStyle="{DynamicResource ListBoxItemStyle1}"/>
    					<TextBlock Height="37" TextWrapping="Wrap" Text="Шаг 1. Импорт из Active Directory" VerticalAlignment="Top" FontSize="14.667" HorizontalAlignment="Center" Width="182.71" TextAlignment="Center" FontWeight="Bold"/>
    					<Button x:Name="AddBut_Copy1" Margin="0,0,0,4" Style="{DynamicResource DisabledButton}" VerticalAlignment="Bottom" Height="27" ToolTip="Добавление новой виртуальной машины в системы" Grid.Row="0" Grid.Column="0" d:LayoutOverrides="VerticalAlignment, GridBox" HorizontalAlignment="Center" Command="{Binding Reflesh, Mode=OneWay}" IsEnabled="{Binding CanRefesh}">
    						<StackPanel Orientation="Horizontal">
    							<Image Margin="0" Source="/VMDS.GUIClient;component/Views/Images/reload.png" OpacityMask="White" Width="30"/>
    							<TextBlock Text="Обновить" TextWrapping="Wrap" TextAlignment="Center" VerticalAlignment="Center" Margin="3,0,8,0" FontSize="14.667" FontWeight="Bold"/>
    						</StackPanel>
    					</Button>
    					<GroupBox Header="Поиск" Margin="12,0,12,35" VerticalAlignment="Bottom" Height="53">
    						<StackPanel Margin="0,0,0,2" Orientation="Horizontal" d:LayoutOverrides="Width">
    							<TextBox TextWrapping="Wrap" Text="{Binding Filter, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" FontSize="16" Width="187"/>
    							<Image Margin="0,1,0,0" Width="35" Source="/VMDS.GUIClient;component/Views/Images/adjust_size.png"/>
        
    						</StackPanel>
    					</GroupBox>
        
    				</Grid>
    				<Button x:Name="AddBut1" Margin="0,0,0,182" Style="{DynamicResource DisabledButton}" VerticalAlignment="Bottom" Height="24" ToolTip="Добавление новой виртуальной машины в системы" Grid.Row="0" Grid.Column="0" d:LayoutOverrides="GridBox" Content="&gt;&gt;&gt;" FontWeight="Bold" FontSize="16" HorizontalAlignment="Center" Width="57.82" Command="{Binding Import, Mode=OneWay}"/>
    				<Grid Margin="0,12,8,54" Width="257" HorizontalAlignment="Right" d:LayoutOverrides="HorizontalAlignment">
    					<Rectangle Stroke="#FFF8F3F3" StrokeThickness="0.5" RadiusX="10" RadiusY="10" Margin="0">
    						<Rectangle.Fill>
    							<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" Opacity="0.435">
    								<LinearGradientBrush.RelativeTransform>
    									<TransformGroup>
    										<ScaleTransform CenterY="0.5" CenterX="0.5"/>
    										<SkewTransform CenterY="0.5" CenterX="0.5"/>
    										<RotateTransform CenterY="0.5" CenterX="0.5"/>
    										<TranslateTransform/>
    									</TransformGroup>
    								</LinearGradientBrush.RelativeTransform>
    								<GradientStop Color="#FFEFECEC"/>
    								<GradientStop Offset="0.558"/>
    								<GradientStop Color="#FFEFECEC" Offset="1"/>
    								<GradientStop Offset="0.494"/>
    							</LinearGradientBrush>
    						</Rectangle.Fill>
    					</Rectangle>
        
    					<ListBox Margin="12,41,12,88" ItemsSource="{Binding PCsToAdd}" ItemContainerStyle="{DynamicResource ListBoxItemStyle1}" SelectedItem="{Binding CurrentPCtoADD}"/>
    					<Button x:Name="AddBut_Copy2" Margin="0,0,0,4" Style="{DynamicResource DisabledButton}" VerticalAlignment="Bottom" Height="27" ToolTip="Добавление новой виртуальной машины в системы" Grid.Row="0" Grid.Column="0" d:LayoutOverrides="VerticalAlignment, GridBox" HorizontalAlignment="Center" Command="{Binding AddAllPc, Mode=OneWay}">
    						<StackPanel Orientation="Horizontal">
    							<Image Margin="0" Source="/VMDS.GUIClient;component/Views/Images/ok.png" OpacityMask="White" Width="30"/>
    							<TextBlock Text="Добавить" TextWrapping="Wrap" TextAlignment="Center" VerticalAlignment="Center" Margin="3,0,8,0" FontSize="14.667" FontWeight="Bold"/>
    						</StackPanel>
    					</Button>
    					<TextBlock Height="37" TextWrapping="Wrap" Text="Шаг 2. Список ПК для добавления" VerticalAlignment="Top" FontSize="14.667" HorizontalAlignment="Center" Width="182.71" TextAlignment="Center" FontWeight="Bold"/>
    					<GroupBox Header="Введите имя ПК" Height="53" Margin="12,0,55,35" VerticalAlignment="Bottom">
    						<StackPanel Margin="0,0,-36.855,1.726" Orientation="Horizontal" d:LayoutOverrides="Width">
    							<TextBox TextWrapping="Wrap" FontSize="16" Width="144" Text="{Binding NewPcName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
    							<Button x:Name="AddBut_Copy" Margin="3,0,0,-3" Style="{DynamicResource DisabledButton}" VerticalAlignment="Bottom" Height="27" ToolTip="Добавление новой виртуальной машины в системы" d:LayoutOverrides="GridBox" Command="{Binding AddNewPc, Mode=OneWay}">
    								<StackPanel Orientation="Horizontal">
    									<Image Margin="0,4,0,0" Source="/VMDS.GUIClient;component/Views/Images/client_add.png" OpacityMask="White" Width="27"/>
    								</StackPanel>
    							</Button>
        
    						</StackPanel>
    					</GroupBox>
    					<Button x:Name="AddBut_Copy3" Margin="0,0,18,40" VerticalAlignment="Bottom" Height="27" ToolTip="Добавление новой виртуальной машины в системы" Width="31" Grid.Column="0" HorizontalAlignment="Right" Grid.Row="0" d:LayoutOverrides="VerticalAlignment, GridBox" Style="{DynamicResource DisabledButton}" Command="{Binding DeletePcToAdd, Mode=OneWay}">
    						<StackPanel Orientation="Horizontal">
    							<Image Margin="0,4,0,0" Source="/VMDS.GUIClient;component/Views/Images/client_remove.png" OpacityMask="White" Width="27"/>
    						</StackPanel>
    					</Button>
        
    				</Grid>
    			</Grid>
    		</TabItem>
    		<TabItem Header="Мониторинг" Margin="5,0,0,0" VerticalAlignment="Bottom" FontSize="14.667">
    			<Grid>
    				<ListBox Margin="8,55,0,8" HorizontalAlignment="Left" Width="268" ItemsSource="{Binding Online}"/>
    				<ListBox Margin="0,55,8,8" HorizontalAlignment="Right" Width="275" ItemsSource="{Binding Guests}"/>
    				<Label Content="Сейчас Онлайн" HorizontalAlignment="Left" Height="32.703" Margin="91,18.297,0,0" VerticalAlignment="Top" Width="140" Foreground="#FF54CA6B" FontWeight="Bold" FontSize="16"/>
    				<Label Content="Гости" HorizontalAlignment="Right" Height="32.703" Margin="0,18.297,124,0" VerticalAlignment="Top" Width="56" Foreground="#FFE73D3D" FontSize="16" FontWeight="Bold" Background="#00F75A5A"/>
    			</Grid>
    		</TabItem>
    	</TabControl>
    </Grid>
</Page>
